package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家店铺状态对象 merchant_shop_status
 * 
 * @author ruoyi
 * @date 2025-10-22
 */
public class MerchantShopStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @Excel(name = "记录ID")
    private Long id;

    /** 商家ID */
    @Excel(name = "商家ID")
    private String merchantId;

    /** 营业状态 */
    @Excel(name = "营业状态")
    private Long businessStatus;

    /** 忙闲等级 */
    @Excel(name = "忙闲等级")
    private Long busyLevel;

    /** 预计制作等待分钟 */
    @Excel(name = "预计制作等待分钟")
    private Integer queueTimeMin;

    /** 原因备注 */
    @Excel(name = "原因备注")
    private String reason;

    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveFrom;

    /** 失效时间（可空） */
    @Excel(name = "失效时间", readConverterExp = "可=空")
    private Date effectiveTo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 删除时间（软删除） */
    @Excel(name = "删除时间", readConverterExp = "软=删除")
    private Date deletedAt;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String externField1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private String externField2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }

    public void setBusinessStatus(Long businessStatus) 
    {
        this.businessStatus = businessStatus;
    }

    public Long getBusinessStatus() 
    {
        return businessStatus;
    }

    public void setBusyLevel(Long busyLevel) 
    {
        this.busyLevel = busyLevel;
    }

    public Long getBusyLevel() 
    {
        return busyLevel;
    }

    public void setQueueTimeMin(Integer queueTimeMin) 
    {
        this.queueTimeMin = queueTimeMin;
    }

    public Integer getQueueTimeMin() 
    {
        return queueTimeMin;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setEffectiveFrom(Date effectiveFrom) 
    {
        this.effectiveFrom = effectiveFrom;
    }

    public Date getEffectiveFrom() 
    {
        return effectiveFrom;
    }

    public void setEffectiveTo(Date effectiveTo) 
    {
        this.effectiveTo = effectiveTo;
    }

    public Date getEffectiveTo() 
    {
        return effectiveTo;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }

    public void setExternField1(String externField1) 
    {
        this.externField1 = externField1;
    }

    public String getExternField1() 
    {
        return externField1;
    }

    public void setExternField2(String externField2) 
    {
        this.externField2 = externField2;
    }

    public String getExternField2() 
    {
        return externField2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantId", getMerchantId())
            .append("businessStatus", getBusinessStatus())
            .append("busyLevel", getBusyLevel())
            .append("queueTimeMin", getQueueTimeMin())
            .append("reason", getReason())
            .append("effectiveFrom", getEffectiveFrom())
            .append("effectiveTo", getEffectiveTo())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("deletedAt", getDeletedAt())
            .append("externField1", getExternField1())
            .append("externField2", getExternField2())
            .toString();
    }
}
